﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Temp.Database;
using Temp.Model;

namespace Temp.Controller
{
    class EventController
    {
        /*
        private SQLiteFactory sqlf;
        private List<Event> eventList;
        private SQLite.SQLiteConnection conn;
         
        public EventController() {
            sqlf = new SQLiteFactory();
        }

        public Event getEvent(int eventID) {
            conn = sqlf.getConnection();
            System.Diagnostics.Debug.WriteLine("EVENT ID" + eventID);
            Event e = (conn.Table<Event>().Where(ev => ev.idEvent == eventID)).Single();
            conn.Close();
            return e;
        }*/
    }
}
